<div class="row-fluid">
    <?php if (Yii::app()->user->hasFlash('success')) : ?>
        <div class="alert in alert-block fade alert-success">
            <?php echo Yii::app()->user->getFlash('success') ?>
        </div>
    <?php endif; ?>

    <?php if (Yii::app()->user->hasFlash('error')) : ?>
        <div class="alert in alert-block fade alert-error">
            <?php echo Yii::app()->user->getFlash('error') ?>
        </div>
    <?php endif; ?>

    <?php if (Yii::app()->user->hasFlash('info')) : ?>
        <div class="alert in alert-block fade alert-info">
            <?php echo Yii::app()->user->getFlash('info') ?>
        </div>
    <?php endif; ?>

    <?php if (Yii::app()->user->hasFlash('warning')) : ?>
        <div class="alert in alert-block fade alert-warning">
            <?php echo Yii::app()->user->getFlash('warning') ?>
        </div>
    <?php endif; ?>
</div><!-- .row-fluid -->